#ifndef STAGING_H
#define STAGING_H

#include <sqlite3.h>
extern sqlite3* init_data(const char *db_name, const char *table_name);
extern void create_table(const char *filename);
extern void close_table(sqlite3 *db);
extern void delete_data(sqlite3 *db, pack_data_t *data);
extern void insert_data(sqlite3 *db, pack_data_t *data);
extern int read_data(sqlite3 *db, pack_data_t *data);
extern int pop_data(sqlite3 *db, pack_data_t *data);

#endif 
